<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Xpert</title>
<style>

	html{
	
		margin:0px;
		padding:0px;
		font-family:Verdana, Arial, Helvetica, sans-serif;
	
	}
	
	body{
	
		margin:0px;
		padding:0px;
	
	}
	
	.top_wrapper{

		width:100%; 
		background-color:#F9F9F9; 
		height:44px
	
	}
	
	.text_centre{
		
		width:950px; 
		margin:0 auto; 
		text-align:center;
	
	}
	
	.top_left{
	
		width:500px; 
		float:left; 
		position:relative; 
		text-align:left; 
		font-size:80%; 
		font-weight:bold; 
		color:#434343; 
		padding-top:12px;
	
	}
	
	.top_left span{
		
		border-left:1px solid #D6D6D6; 
		padding:0 10px
	
	}
	
	.top_left span a, .top_right span a{
	
		color:#434343;
		
	}
	
	.top_right{
	
		width:450px; 
		float:right; 
		position:relative; 
		height:100%; 
		text-align:left; 
		font-size:80%; 
		font-weight:bold; 
		color:#434343; 
		padding-top:12px;
	
	}
	
	.top_right span{
		
		border-left:1px solid #D6D6D6; 
		padding:0 10px;
		
	}
	
	.main_wrapper{
	
		float:left; 
		position:relative; 
		width:100%; 
		text-align:center;
	
	}
	
	.page_holder{
	
		width:900px; 
		text-align:left; 
		margin:0 auto; 
		height:100px;
	
	}
	
	.logo{
		
		float:left; 
		position:relative; 
		height:100px; 
		width:149px;
	
	}
	
	.contributors{
	
		float:left; 
		position:relative; 
		height:500px; 
		width:100%; 
		background-color:#FFFFFF;  
		margin-top:20px; 
		text-align:center
	
	}
	
	.contributors a{
	
		color:#7C7C7C; 
		text-decoration:none;
	
	}

</style>

</head>
<body>
	<div class="top_wrapper">
		<div class="text_centre">
			<div class="top_left">
				<span>  
					<a href="http://www.nottingham.ac.uk/xpert/">Back to main page</a>  
				</span>
			</div>
			<div class="top_right">
						<span>  <a href="feedsubmit.php">Submit a link</a>  </span><span>  <a href="rss.php">Subscribe to RSS</a>  </span><span><a href="about.php">About</a></span><span><a href="contributors.php">Contributors</a></span>
			</div>
		</div>
	</div>
	<div class="main_wrapper">
		<div class="page_holder">
			<div class="logo">
				<img src="http://www.nottingham.ac.uk/xpert/images/logoresults.gif" />
			</div>
			<div class="contributors">
			<p style="color:#665723; font-weight:bold;">
				Contributors to XPERT
			</p><p>
<?
								
	include "xpert_database.php";
	
	xpert_database_connect($xpert_site);
	
	xpert_database_select($xpert_site);

	$query = "select * from xpert_urls";
	
	$output = array();
		
	$site_questions = xpert_database_multiple_select_query($query, $xpert_site);
	
	while($site_questions_object = xpert_database_fetch_object_from_response($site_questions)){
		
		$string = "<a onmouseover=\"this.style.textDecoration='underline'\" onmouseout=\"this.style.textDecoration='none'\" target=\"new\" href=\"" . $site_questions_object->url_resource_base . "\">" .$site_questions_object->url_name . " (";
		
		$query = "select * from xpert_core_scratch where resource_link like \"" . $site_questions_object->url_resource_base . "%\"";
		
		$site_links = xpert_database_row_count($query, $xpert_site);
		
		$string .= $site_links[0] . " items)</a>";
		
		array_push($output, $string);
		
		$string = "";		
		
	}


		
	$rand_results = array_rand($output,count($output));
	
	for($x=0; $x<count($rand_results); $x++){
	
		$info = $rand_results[$x];
	
		$display_info = explode("***",$results[$info]);
		
		echo $output[$info] . "   ";
	
	}		
		
?>
</p>				
	<div style="float:left; position:relative; width:100%; background-color:#FFF; text-align:center; color:#8E8E8E; font-size:75%; margin-top:50px;">
		Copyright 2009 University of Nottingham
	</div>
	<!-- Start - Webtrends tagging -->
<script type="text/javascript"
src="http://www.nottingham.ac.uk/common/webtrends/sdc-advanced-tracking.
js"></script>
<script type="text/javascript">
//<![CDATA[
	var gDomain = "uiwwwwbt01.ad.nottingham.ac.uk";
	var gDcsId  = "dcsuhohgd10000oiqfkmqufiu_6c8f"; // ]]> </script> <script type="text/javascript"
src="http://www.nottingham.ac.uk/common/webtrends/sdc.js"></script>
<noscript><img alt="" border="0" name="dcsimg" width="1" height="1"
src="http://uiwwwwbt01.ad.nottingham.ac.uk/dcsuhohgd10000oiqfkmqufiu_6c8
f/njs.gif?dcsuri=/nojavascript&amp;WT.js=No&amp;WT.tv=8.0.0"
/></noscript>
<!-- End - Webtrends tagging -->

</body>
</html>
